package com.gxar.quick.ar.server.base.model.protocol.vo.request;

import com.gxar.quick.ar.server.base.common.enums.protocol.ArLoadSceneEnum;
import com.gxar.quick.ar.server.base.common.enums.protocol.ArProtocolClientEnum;
import com.gxar.quick.ar.server.base.model.protocol.device.CommonDeviceInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 作品查询基类信息
 *
 * @author zxh
 * @version 1.0
 * @created 2024/02/20.
 */
@Data
@ToString
public class BaseQueryWorkRequest {

    @ApiModelProperty("是否需要协议转换, 默认为true")
    private boolean needConvertProtocol = true;

    @ApiModelProperty("数据展示端")
    @NotNull(message = "客户端参数client不能为空")
    private ArProtocolClientEnum client;

    @ApiModelProperty("展示场景/模式")
    @NotNull(message = "场景参数scene不能为空")
    private ArLoadSceneEnum scene;

    @ApiModelProperty("设备信息")
    private CommonDeviceInfo device;
}
